autoconf: add libnl3 dependency for Remus network buffering support
authorYang Hongyang <yanghy@cn.fujitsu.com>
Fri, 27 Jun 2014 01:43:51 +0000 (09:43 +0800)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 26 Sep 2014 14:12:37 +0000 (15:12 +0100)
commit622e837570f4dd407d7996520e4829df8b7122c6
tree814e3856b69bacb3a7e0ca190581a7a64341d44d
parent7c52b9231f06286c5d24192b81d644b86eb07a08
autoconf: add libnl3 dependency for Remus network buffering support

Libnl3 is required for controlling Remus network buffering.
This patch adds dependency on libnl3 (>= 3.2.8) to autoconf scripts.
It also provides the ability to configure tools without libnl3 support
i.e., without network buffering support.

When there is no network buffering support, libxl__netbuffer_enabled()
returns 0, otherwise returns 1. The callers of this api will be
introduced in the rest of the series.

NOTE: This patch changes tools/configure.ac, please rerun
      autogen.sh while applying the patch.

Signed-off-by: Shriram Rajagopalan <rshriram@cs.ubc.ca>
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Reviewed-by: Wen Congyang <wency@cn.fujitsu.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
README
config/Tools.mk.in
docs/README.remus
tools/configure.ac
tools/libxl/Makefile
tools/libxl/libxl_internal.h
tools/libxl/libxl_netbuffer.c [new file with mode: 0644]
tools/libxl/libxl_nonetbuffer.c [new file with mode: 0644]